

<div id="sidebar">
				<img src="images/title1.gif" alt="" width="174" height="30" /><br />																																																																		
				<ul id="list">
					
					<?php
						include_once("db/dataprovider.php");
						$sql = "select ma, ten from chuyenmuc";
						$result = DataProvider::ExecuteQuery($sql);
						$i = 0;
						while($row = mysql_fetch_array($result, MYSQL_ASSOC))
						{
							if($i%2==0)
							{
					?>
								<li class="color"><a href="javascript:void(0);" onclick="loadXMLDoc(<?php echo $row['ma'];?>,0)"><?php echo($row['ten']);?></a></li>
					<?php
							}
							else
							{
					?>
								<li><a href="javascript:void(0);" onclick="loadXMLDoc(<?php echo $row['ma'];?>,0)"><?php echo($row['ten']);?></a></li>
					<?php
							}
							$i += 1;
						}
						
					?>
				</ul>
</div>